﻿using System;
using System.Collections.Generic;
using System.Web;

/// <summary>
/// Summary description for ReferenceUserOtherDetails
/// </summary>
/// 
namespace CE.User
{
    public class ReferenceUserOtherDetails
    {
        private Int64 _userid;
        private Int64 _cecarid;
        private bool _isparallelimport;
        private bool _iscngvehicle;
        private bool _ishybridmodel;
        private DateTime _drivinglicensepassdate;

        private Int32 _noclast3;
        private string _noclast3claim1notatfault;
        private string _noclast3claim1atfault;
        private string _noclast3claim1windscreen;
        private DateTime _noclast3claim1accidentdate;
        private string _noclast3claim2notatfault;
        private string _noclast3claim2atfault;
        private string _noclast3claim2windscreen;
        private DateTime _noclast3claim2accidentdate;
        private string _noclast3claim3notatfault;
        private string _noclast3claim3atfault;
        private string _noclast3claim3windscreen;
        private DateTime _noclast3claim3accidentdate;

        private Int32 _noclast2;
        private string _noclast2claim1notatfault;
        private string _noclast2claim1atfault;
        private string _noclast2claim1windscreen;
        private DateTime _noclast2claim1accidentdate;
        private string _noclast2claim2notatfault;
        private string _noclast2claim2atfault;
        private string _noclast2claim2windscreen;
        private DateTime _noclast2claim2accidentdate;
        private string _noclast2claim3notatfault;
        private string _noclast2claim3atfault;
        private string _noclast2claim3windscreen;
        private DateTime _noclast2claim3accidentdate;

        private Int32 _noclast1;
        private string _noclast1claim1notatfault;
        private string _noclast1claim1atfault;
        private string _noclast1claim1windscreen;
        private DateTime _noclast1claim1accidentdate;
        private string _noclast1claim2notatfault;
        private string _noclast1claim2atfault;
        private string _noclast1claim2windscreen;
        private DateTime _noclast1claim2accidentdate;
        private string _noclast1claim3notatfault;
        private string _noclast1claim3atfault;
        private string _noclast1claim3windscreen;
        private DateTime _noclast1claim3accidentdate;

        private bool _suspensionoflicense;
        private bool _policycancelled;
        private float _renewalquotereceived;
        private bool _adddriver;

        private string _driver1relation;
        private string _driver1name;
        private string _driver1nric;
        private DateTime _driver1licensepassdate;

        private string _driver2relation;
        private string _driver2name;
        private string _driver2nric;
        private DateTime _driver2licensepassdate;

        private string _driver3relation;
        private string _driver3name;
        private string _driver3nric;
        private DateTime _driver3licensepassdate;

        private string _driver4relation;
        private string _driver4name;
        private string _driver4nric;
        private DateTime _driver4licensepassdate;

        private string _driver5relation;
        private string _driver5name;
        private string _driver5nric;
        private DateTime _driver5licensepassdate;

        private Int64 _vieweddetailid;
        private Int64 _refceuserid;

        //common field name
        private bool _status;
        private DateTime _createddate;
        private DateTime _modifieddate;


        public ReferenceUserOtherDetails()
        {
            //
            // TODO: Add constructor logic here
            //
            ClearFields();
        }


        public Int64 UserId
        {
            get { return _userid; }
            set { _userid = value; }
        }

        public Int64 CeCarId
        {
            get { return _cecarid; }
            set { _cecarid = value; }
        }

        public bool IsParallelImport
        {
            get { return _isparallelimport; }
            set { _isparallelimport = value; }
        }

        public bool IsCNGVehicle
        {
            get { return _iscngvehicle; }
            set { _iscngvehicle = value; }
        }

        public bool IsHybridModel
        {
            get { return _ishybridmodel; }
            set { _ishybridmodel = value; }
        }

        public DateTime DrivingLicensePassDate
        {
            get { return _drivinglicensepassdate; }
            set { _drivinglicensepassdate = value; }
        }

        public int NOCLast3
        {
            get { return _noclast3; }
            set { _noclast3 = value; }
        }

        public string NOCLast3Claim1NotAtFault
        {
            get { return _noclast3claim1notatfault; }
            set { _noclast3claim1notatfault = value; }
        }

        public string NOCLast3Claim1AtFault
        {
            get { return _noclast3claim1atfault; }
            set { _noclast3claim1atfault = value; }
        }

        public string NOCLast3Claim1Windscreen
        {
            get { return _noclast3claim1windscreen; }
            set { _noclast3claim1windscreen = value; }
        }

        public DateTime NOCLast3Claim1AccidentDate
        {
            get { return _noclast3claim1accidentdate; }
            set { _noclast3claim1accidentdate = value; }
        }

        public string NOCLast3Claim2NotAtFault
        {
            get { return _noclast3claim2notatfault; }
            set { _noclast3claim2notatfault = value; }
        }

        public string NOCLast3Claim2AtFault
        {
            get { return _noclast3claim2atfault; }
            set { _noclast3claim2atfault = value; }
        }

        public string NOCLast3Claim2Windscreen
        {
            get { return _noclast3claim2windscreen; }
            set { _noclast3claim2windscreen = value; }
        }

        public DateTime NOCLast3Claim2AccidentDate
        {
            get { return _noclast3claim2accidentdate; }
            set { _noclast3claim2accidentdate = value; }
        }

        public string NOCLast3Claim3NotAtFault
        {
            get { return _noclast3claim3notatfault; }
            set { _noclast3claim3notatfault = value; }
        }

        public string NOCLast3Claim3AtFault
        {
            get { return _noclast3claim3atfault; }
            set { _noclast3claim3atfault = value; }
        }

        public string NOCLast3Claim3Windscreen
        {
            get { return _noclast3claim3windscreen; }
            set { _noclast3claim3windscreen = value; }
        }

        public DateTime NOCLast3Claim3AccidentDate
        {
            get { return _noclast3claim3accidentdate; }
            set { _noclast3claim3accidentdate = value; }
        }

        ///last2

        public int NOCLast2
        {
            get { return _noclast2; }
            set { _noclast2 = value; }
        }

        public string NOCLast2Claim1NotAtFault
        {
            get { return _noclast2claim1notatfault; }
            set { _noclast2claim1notatfault = value; }
        }

        public string NOCLast2Claim1AtFault
        {
            get { return _noclast2claim1atfault; }
            set { _noclast2claim1atfault = value; }
        }

        public string NOCLast2Claim1Windscreen
        {
            get { return _noclast2claim1windscreen; }
            set { _noclast2claim1windscreen = value; }
        }

        public DateTime NOCLast2Claim1AccidentDate
        {
            get { return _noclast2claim1accidentdate; }
            set { _noclast2claim1accidentdate = value; }
        }

        public string NOCLast2Claim2NotAtFault
        {
            get { return _noclast2claim2notatfault; }
            set { _noclast2claim2notatfault = value; }
        }

        public string NOCLast2Claim2AtFault
        {
            get { return _noclast2claim2atfault; }
            set { _noclast2claim2atfault = value; }
        }

        public string NOCLast2Claim2Windscreen
        {
            get { return _noclast2claim2windscreen; }
            set { _noclast2claim2windscreen = value; }
        }

        public DateTime NOCLast2Claim2AccidentDate
        {
            get { return _noclast2claim2accidentdate; }
            set { _noclast2claim2accidentdate = value; }
        }

        public string NOCLast2Claim3NotAtFault
        {
            get { return _noclast2claim3notatfault; }
            set { _noclast2claim3notatfault = value; }
        }

        public string NOCLast2Claim3AtFault
        {
            get { return _noclast2claim3atfault; }
            set { _noclast2claim3atfault = value; }
        }

        public string NOCLast2Claim3Windscreen
        {
            get { return _noclast2claim3windscreen; }
            set { _noclast2claim3windscreen = value; }
        }

        public DateTime NOCLast2Claim3AccidentDate
        {
            get { return _noclast2claim3accidentdate; }
            set { _noclast2claim3accidentdate = value; }
        }

        //last1
        public int NOCLast1
        {
            get { return _noclast1; }
            set { _noclast1 = value; }
        }

        public string NOCLast1Claim1NotAtFault
        {
            get { return _noclast1claim1notatfault; }
            set { _noclast1claim1notatfault = value; }
        }

        public string NOCLast1Claim1AtFault
        {
            get { return _noclast1claim1atfault; }
            set { _noclast1claim1atfault = value; }
        }

        public string NOCLast1Claim1Windscreen
        {
            get { return _noclast1claim1windscreen; }
            set { _noclast1claim1windscreen = value; }
        }

        public DateTime NOCLast1Claim1AccidentDate
        {
            get { return _noclast1claim1accidentdate; }
            set { _noclast1claim1accidentdate = value; }
        }

        public string NOCLast1Claim2NotAtFault
        {
            get { return _noclast1claim2notatfault; }
            set { _noclast1claim2notatfault = value; }
        }

        public string NOCLast1Claim2AtFault
        {
            get { return _noclast1claim2atfault; }
            set { _noclast1claim2atfault = value; }
        }

        public string NOCLast1Claim2Windscreen
        {
            get { return _noclast1claim2windscreen; }
            set { _noclast1claim2windscreen = value; }
        }

        public DateTime NOCLast1Claim2AccidentDate
        {
            get { return _noclast1claim2accidentdate; }
            set { _noclast1claim2accidentdate = value; }
        }

        public string NOCLast1Claim3NotAtFault
        {
            get { return _noclast1claim3notatfault; }
            set { _noclast1claim3notatfault = value; }
        }

        public string NOCLast1Claim3AtFault
        {
            get { return _noclast1claim3atfault; }
            set { _noclast1claim3atfault = value; }
        }

        public string NOCLast1Claim3Windscreen
        {
            get { return _noclast1claim3windscreen; }
            set { _noclast1claim3windscreen = value; }
        }

        public DateTime NOCLast1Claim3AccidentDate
        {
            get { return _noclast1claim3accidentdate; }
            set { _noclast1claim3accidentdate = value; }
        }

        public bool SuspensionOfLicense
        {
            get { return _suspensionoflicense; }
            set { _suspensionoflicense = value; }
        }

        public bool PolicyCancelled
        {
            get { return _policycancelled; }
            set { _policycancelled = value; }
        }

        public float RenewalQuoteReceived
        {
            get { return _renewalquotereceived; }
            set { _renewalquotereceived = value; }
        }

        public bool AddDriver
        {
            get { return _adddriver; }
            set { _adddriver = value; }
        }

        public string Driver1Relation
        {
            get { return _driver1relation; }
            set { _driver1relation = value; }
        }

        public string Driver1Name
        {
            get { return _driver1name; }
            set { _driver1name = value; }
        }

        public string Driver1NRIC
        {
            get { return _driver1nric; }
            set { _driver1nric = value; }
        }

        public DateTime Driver1LicensePassDate
        {
            get { return _driver1licensepassdate; }
            set { _driver1licensepassdate = value; }
        }

        public string Driver2Relation
        {
            get { return _driver2relation; }
            set { _driver2relation = value; }
        }

        public string Driver2Name
        {
            get { return _driver2name; }
            set { _driver2name = value; }
        }

        public string Driver2NRIC
        {
            get { return _driver2nric; }
            set { _driver2nric = value; }
        }

        public DateTime Driver2LicensePassDate
        {
            get { return _driver2licensepassdate; }
            set { _driver2licensepassdate = value; }
        }

        public string Driver3Relation
        {
            get { return _driver3relation; }
            set { _driver3relation = value; }
        }

        public string Driver3Name
        {
            get { return _driver3name; }
            set { _driver3name = value; }
        }

        public string Driver3NRIC
        {
            get { return _driver3nric; }
            set { _driver3nric = value; }
        }

        public DateTime Driver3LicensePassDate
        {
            get { return _driver3licensepassdate; }
            set { _driver3licensepassdate = value; }
        }

        public string Driver4Relation
        {
            get { return _driver4relation; }
            set { _driver4relation = value; }
        }

        public string Driver4Name
        {
            get { return _driver4name; }
            set { _driver4name = value; }
        }

        public string Driver4NRIC
        {
            get { return _driver4nric; }
            set { _driver4nric = value; }
        }

        public DateTime Driver4LicensePassDate
        {
            get { return _driver4licensepassdate; }
            set { _driver4licensepassdate = value; }
        }

        public string Driver5Relation
        {
            get { return _driver5relation; }
            set { _driver5relation = value; }
        }

        public string Driver5Name
        {
            get { return _driver5name; }
            set { _driver5name = value; }
        }

        public string Driver5NRIC
        {
            get { return _driver5nric; }
            set { _driver5nric = value; }
        }

        public DateTime Driver5LicensePassDate
        {
            get { return _driver5licensepassdate; }
            set { _driver5licensepassdate = value; }
        }

        public Int64 ViewedDetailId
        {
            get { return _vieweddetailid; }
            set { _vieweddetailid = value; }
        }

        public bool Status
        {
            get { return _status; }
            set { _status = value; }
        }

        public Int64 RefCEUserId
        {
            get { return _refceuserid; }
            set { _refceuserid = value; }
        }

        public void ClearFields()
        {
            _userid = 0;
            _cecarid = 0;
            _isparallelimport = false;
            _iscngvehicle = false;
            _ishybridmodel = false;
            _drivinglicensepassdate = CE.Global.General.GetUTCDateTime();
            _noclast3 = 0;
            _noclast3claim1notatfault = "0";
            _noclast3claim1atfault = "0";
            _noclast3claim1windscreen = "0";
            _noclast3claim1accidentdate = CE.Global.General.GetUTCDateTime();
            _noclast3claim2notatfault = "0";
            _noclast3claim2atfault = "0";
            _noclast3claim2windscreen = "0";
            _noclast3claim2accidentdate = CE.Global.General.GetUTCDateTime();
            _noclast3claim3notatfault = "0";
            _noclast3claim3atfault = "0";
            _noclast3claim3windscreen = "0";
            _noclast3claim3accidentdate = CE.Global.General.GetUTCDateTime();

            _noclast2 = 0;
            _noclast2claim1notatfault = "0";
            _noclast2claim1atfault = "0";
            _noclast2claim1windscreen = "0";
            _noclast2claim1accidentdate = CE.Global.General.GetUTCDateTime();

            _noclast2claim2notatfault = "0";
            _noclast2claim2atfault = "0";
            _noclast2claim2windscreen = "0";
            _noclast2claim2accidentdate = CE.Global.General.GetUTCDateTime();
            _noclast2claim3notatfault = "0";
            _noclast2claim3atfault = "0";
            _noclast2claim3windscreen = "0";
            _noclast2claim3accidentdate = CE.Global.General.GetUTCDateTime();

            _noclast1 = 0;
            _noclast1claim1notatfault = "0";
            _noclast1claim1atfault = "0";
            _noclast1claim1windscreen = "0";
            _noclast1claim1accidentdate = CE.Global.General.GetUTCDateTime();
            _noclast1claim2notatfault = "0";
            _noclast1claim2atfault = "0";
            _noclast1claim2windscreen = "0";
            _noclast1claim2accidentdate = CE.Global.General.GetUTCDateTime();
            _noclast1claim3notatfault = "0";
            _noclast1claim3atfault = "0";
            _noclast1claim3windscreen = "0";
            _noclast1claim3accidentdate = CE.Global.General.GetUTCDateTime();

            _suspensionoflicense = false;
            _policycancelled = false;
            _renewalquotereceived = 0;
            _adddriver = false;

            _driver1relation = "0";
            _driver1name = "";
            _driver1nric = "";
            _driver1licensepassdate = CE.Global.General.GetUTCDateTime();

            _driver2relation = "0";
            _driver2name = "";
            _driver2nric = "";
            _driver2licensepassdate = CE.Global.General.GetUTCDateTime();

            _driver3relation = "0";
            _driver3name = "";
            _driver3nric = "";
            _driver3licensepassdate = CE.Global.General.GetUTCDateTime();

            _driver4relation = "0";
            _driver4name = "";
            _driver4nric = "";
            _driver4licensepassdate = CE.Global.General.GetUTCDateTime();

            _driver5relation = "0";
            _driver5name = "";
            _driver5nric = "";
            _driver5licensepassdate = CE.Global.General.GetUTCDateTime();

            _vieweddetailid = 0;
            _refceuserid = 0;

            //common field name
            _status = false;
            _createddate = CE.Global.General.GetUTCDateTime();
            _modifieddate = CE.Global.General.GetUTCDateTime();
        }
    }

}